/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using VINETLIFE.DAL;
using VINETLIFE.DO;
/// <summary>
/// Summary description for cmsEmailBL
/// </summary>
namespace VINETLIFE.BL 
{
    public class cmsEmailBL 
    {
    	#region Private Variables
		cmsEmailDAL objcmsEmailDAL;
		#endregion
		
        #region Public Constructors
        public cmsEmailBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objcmsEmailDAL=new cmsEmailDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(cmsEmailDO objcmsEmailDO)
        {
            return objcmsEmailDAL.Insert(objcmsEmailDO);
        }

        public int Update(cmsEmailDO objcmsEmailDO)
        {
             return objcmsEmailDAL.Update(objcmsEmailDO);

        }

        public int Delete(cmsEmailDO objcmsEmailDO)
        {
             return objcmsEmailDAL.Delete(objcmsEmailDO);

        }

         public int DeleteAll()
        {
             return objcmsEmailDAL.DeleteAll();
        }

        public cmsEmailDO Select(cmsEmailDO objcmsEmailDO)
        {
            return objcmsEmailDAL.Select(objcmsEmailDO);
        }

        public ArrayList SelectAll1( )
        {
         return objcmsEmailDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objcmsEmailDAL.SelectAll();
        }


     
#endregion          
    
    }

}
